/********************************************************************************/
/*   The  Software  is  proprietary,  confidential,  and  valuable to Realtek   */
/*   Semiconductor  Corporation  ("Realtek").  All  rights, including but not   */
/*   limited  to  copyrights,  patents,  trademarks, trade secrets, mask work   */
/*   rights, and other similar rights and interests, are reserved to Realtek.   */
/*   Without  prior  written  consent  from  Realtek,  copying, reproduction,   */
/*   modification,  distribution,  or  otherwise  is strictly prohibited. The   */
/*   Software  shall  be  kept  strictly  in  confidence,  and  shall  not be   */
/*   disclosed to or otherwise accessed by any third party.                     */
/*   c<2003> - <2012>                                                           */
/*   The Software is provided "AS IS" without any warranty of any kind,         */
/*   express, implied, statutory or otherwise.                                  */
/********************************************************************************/

//----------------------------------------------------------------------------------------------------
// ID Code      : RTD2014UserAdjustLedDevier.c
// Update Note  :
//----------------------------------------------------------------------------------------------------

#include "UserCommonInclude.h"

#if((_DEVICE_LED_DRIVER_TYPE != _DEVICE_LED_DRIVER_NONE) && (_LOCAL_DIMMING_SUPPORT == _ON))

//****************************************************************************
// DEFINITIONS / MACROS
//****************************************************************************


//****************************************************************************
// STRUCT / TYPE / ENUM DEFINITTIONS
//****************************************************************************


//****************************************************************************
// CODE TABLES
//****************************************************************************


//****************************************************************************
// VARIABLE DECLARATIONS
//****************************************************************************
#if(_DEBUG_IIC_BY_USERINTERFACE == _ON)
bit DeviceInterfaceLedDriverDebug(BYTE ucType, BYTE *ucDdcciArray, BYTE *ucReturnValue);
#endif
void DeviceInterfaceLedDriverInitial(void);
void DeviceInterfaceLedDriverPwmEnable(bit bEnable);
void DeviceInterfaceLedDriverBacklight(WORD usBacklight);
void DeviceInterfaceLedDriverPwm(EnumDeviceLedDriverPwm enumDeviceLedDriverPwm, WORD usValue);
void DeviceInterfaceLedDriverPwmArray(WORD *pusValue);


//****************************************************************************
// FUNCTION DECLARATIONS
//****************************************************************************
//--------------------------------------------------
// Description  : User Debug Tool Page IIC
// Input Value  : Event ID
// Output Value : None
//--------------------------------------------------
#if(_DEBUG_IIC_BY_USERINTERFACE == _ON)
bit DeviceInterfaceLedDriverDebug(BYTE ucType, BYTE *ucDdcciArray, BYTE *ucReturnValue)
{
    return DeviceLedDriverDebug(ucType, ucDdcciArray, ucReturnValue);
}
#endif

//--------------------------------------------------
// Description  : Set Led Driver Initial
// Input Value  : None
// Output Value : None
//--------------------------------------------------
void DeviceInterfaceLedDriverInitial(void)
{
    DeviceLedDriverInitial();
}

//--------------------------------------------------
// Description  : Set Led Driver Pwm Enable/Disable
// Input Value  : None
// Output Value : None
//--------------------------------------------------
void DeviceInterfaceLedDriverPwmEnable(bit bEnable)
{
    DeviceLedDriverPwmEnable(bEnable);
}

//--------------------------------------------------
// Description  : Adjust Backlight
// Input Value  : None
// Output Value : None
//--------------------------------------------------
void DeviceInterfaceLedDriverBacklight(WORD usBacklight)
{
    DeviceLedDriverBacklight(usBacklight);
}

//--------------------------------------------------
// Description  : Set Led Driver Pwm Frequency
// Input Value  : None
// Output Value : None
//--------------------------------------------------
void DeviceInterfaceLedDriverPwm(EnumDeviceLedDriverPwm enumDeviceLedDriverPwm, WORD usValue)
{
    DeviceLedDriverPwm(enumDeviceLedDriverPwm, usValue);
}

//--------------------------------------------------
// Description  : Set Led Driver Pwm Frequency
// Input Value  : None
// Output Value : None
//--------------------------------------------------
void DeviceInterfaceLedDriverPwmArray(WORD *pusValue)
{
    DeviceLedDriverPwmArray(pusValue);
}

#endif // End of #if((_DEVICE_LED_DRIVER_TYPE != _DEVICE_LED_DRIVER_NONE) && (_LOCAL_DIMMING_SUPPORT == _ON))

